package com.cuitrip.business.webview;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by ak
 */
public class WebParam implements Parcelable {

    private String mTitle;

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int flags) {
        parcel.writeString(mTitle);
    }

    public static final Creator<WebParam> CREATOR = new Creator<WebParam>() {
        public WebParam createFromParcel(Parcel in) {
            String title = in.readString();
            WebParam data = new WebParam();
            data.setTitle(title);
            return data;
        }

        public WebParam[] newArray(int size) {
            return new WebParam[size];
        }
    };

    public String getTitle() {
        return mTitle;
    }

    public void setTitle(String title) {
        mTitle = title;
    }
}
